package com.powernode.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * ClassName: LoginStrategy
 * Description:策略设计模式
 * Author: yzh
 * Create 2024/9/13 16:31
 * Version: 1.0
 */
public interface LoginStrategy {
    /**
     * 真正处理登录的方法
     * @param username
     * @return
     */
    UserDetails realLogin(String username);
}
